package com.engine4cloud.tdf.supervision.convert;

import com.engine4cloud.tdf.supervision.dto.create.OutApplicationSettingCreateDTO;
import com.engine4cloud.tdf.supervision.dto.result.OutApplicationSettingResultDTO;
import com.engine4cloud.tdf.supervision.dto.update.OutApplicationSettingUpdateDTO;
import com.engine4cloud.tdf.supervision.entity.OutApplicationSettingEntity;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface OutApplicationSettingConvert {
    OutApplicationSettingConvert INSTANCE = Mappers.getMapper(OutApplicationSettingConvert.class);

    OutApplicationSettingEntity create(OutApplicationSettingCreateDTO s, Long tenantId);

    OutApplicationSettingEntity update(OutApplicationSettingUpdateDTO s);

    OutApplicationSettingResultDTO convert(OutApplicationSettingEntity s);

}
